package _02methodFactory;

import _01simple.Audi;
import _01simple.Benz;
import _01simple.Car;

/**
 * @author ServivE
 * @version 0.1
 * @className BMWFactory
 * @description
 * @date 2024/10/15 9:58
 * @since jdk17
 */
public class AudiFactory implements CarFactory{
    @Override
    public Car buildCar() {
        System.out.println("Audi工厂，只生产Audi");
        return new Audi();
    }
}
